#!/bin/sh

# ftp'ing manually is bad news. for a start, that gap between deleting
# and replacing a file can cost you a visitor.. 404. secondly, it takes
# too bloody long. this "just happens", and is 100%. I can't go back to
# manual site updating now.

HOST='ftp.mysite.com'
USER='username'
PASSWD='password'

ftp -n $HOST <<FTP_QUIT
quote USER $USER
quote PASS $PASSWD
binary

# paste converted ftp commands right here

quit
FTP_QUIT
exit 0

# fin